Skip to content

Carry contributor work from forks: deLiseLINO (AVF x3), dwaris (camera x4) - #382

Merged
claudiusthebot merged 10 commits into
mainfrom
agent/scion-forks-sync/forks-1118
Nov 18, 2026
Merged

claudiusthebot merged 10 commits into
mainfrom
agent/scion-forks-sync/forks-1118

Conversation

@claudiusthebot

Copy link
Copy Markdown
Collaborator

Cherry-picked with -x, original authorship kept. deLiseLINO: avfboot FP/SIMD before XNU jump; eagl drops GLSL ES 1.00 extensions core in 3.00 (also touches the S9 Mesa path); en0 over virtio vsock (virtio_net_vsock=PORT, default 0, inert without the device). dwaris: 4 camera fixes from bringup-star2lte (switch delay, star2lte telephoto VC interleave, late/stale audio). Plus NOTICE/README credits and regenerated catalogues. boot-args.py --check and docs-gen.py --check pass locally. Not yet run on an S9; merging on green CI per owner.

deLiseLINO and others added 10 commits November 18, 2026 16:09
On the Pixel 7 (pKVM) XNU hung right after "avfboot: jumping to XNU",
half the boots at first and every boot later the same day. The kernel's
first FP instruction (cpu_data_init, from arm_init, right after loader
checkpoint 10) took an "FP/SIMD access trapped" exception (ESR
0x1fe00000, ELR cpu_data_init) although start.s had set CPACR_EL1.FPEN
and CPACR_EL1 read 0x300000 in the vector. With no thread pointer yet,
sleh_synchronous faulted on current_percpu_base (FAR 0x1c0) and kept
recursing until the exception stack ran into the interrupt stack: the
boot vCPU spun at 100% with nothing on the console.

Setting CPACR_EL1.FPEN in avfboot, on the core that enters the kernel
(avfboot_hop after PSCI CPU_ON, or this one), before the jump avoids it:
the same CI kernel and payload went from 10/10 hangs to every boot
reaching the home screen.

(cherry picked from commit 5bfc5eb)
eagl.c hands every CoreAnimation shader on as #version 300 es and moved its #extension lines to the top unchanged. GL_OES_standard_derivatives (CoreAnimation's rounded-corner masks use fwidth()) is not a GLSL ES 3.00 extension; the Mali-G710 compiler on the Pixel 7 rejects it (P0003 "Extension 'GL_OES_standard_derivatives' not supported"), the program does not link and its draws are left out: Control Center and other masked layers drawn black or missing. Such lines are now dropped and the ES 1.00 names those extensions add are defined to their 3.00 names.

(cherry picked from commit 3cc60ae)
* feat(net): en0 on a virtio socket stream to the Scion app (virtio_net_vsock=PORT)

* docs(avf): avf.properties says how Network reaches the guest now

(cherry picked from commit a621b3d)

Carried: docs/boot-args.md kept as main had it (it conflicted: main's catalogue had moved on); the catalogues are made again from the source in a later commit.
Send missing end-of-stream markers after stopping audio so camera
switches no longer hit the graph timeout.

(cherry picked from commit 8da59a8)
Use VC-only interleave for the S5K3M3 image and PDAF channels so the
receiver writes real frames. Refresh telephoto availability after probe
or stream failure.

(cherry picked from commit a620a86)
Serialize audio delivery with output shutdown and discard late samples
before they reach a freed consumer. Keep camera switching responsive.

(cherry picked from commit 7e7dd4e)
Discard queued format notifications from stopped audio sources and
ignore duplicate end markers under the output lock. Both can arrive
after camera switching has released the old graph.

(cherry picked from commit 246263b)
…7 November

Their commits are carried in this branch with their authorship; NOTICE says which files they change and under what
licence, the README's Contributors what they did.
docs/boot-args.md was kept as main had it when deLiseLINO's commit was carried; made again from the source here, with
common_defconfig's help line.
exynos_camera_star2.c +1, camera_device.c +1, inject_media.c +100 (dwaris's
camera fixes), eagl.c +46 (deLiseLINO's GLSL ES fix). Carried as authored;
splitting them is left for a later pass rather than rewriting contributors'
patches on the way in.
@claudiusthebot
claudiusthebot merged commit 22397d9 into main Nov 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants